package pres.liko.iot.gateway.config;

import org.springframework.stereotype.Component;
import pres.liko.iot.bean.Validates;
import pres.liko.iot.gateway.events.BlackApiChangeEvent;

/**
 * @ClassName: ApisCacheConfig
 * @Auther: liko
 * @Description:
 * @Date: 2022/11/3 11:32
 */
@Component
public class ApisCacheConfig extends BaseCacheConfig<BlackApiChangeEvent> {

    @Override
    public void onEventUpdate(BlackApiChangeEvent event) {
        super.onEventUpdate(event);
    }

    @Override
    protected String getCacheKey() {
        return Validates.APIS.getStr();
    }
}
